package com.zys.asseter.mapper;

import com.zys.asseter.domain.pojo.AssetFingerprintTypeEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface AssetFingerprintTypeMapper {

    /**
     * 获取厂商对应的资产数量
     * @param modelName
     * @return
     */
    Integer countForManufacturer(String modelName);

    String getManuModelId(String modelName);


    void insert(AssetFingerprintTypeEntity entity);

    String getTypeModelId(String modelName);

    Integer countFortype(String modelName);



    String getSubTypeModelId(@Param("modelId") String modelId);

    Integer countForSubtype(String modelId);

}
